-
Home
-
Jetpack – WP Security, Backup, Speed, & Growth
-
13.3.1
-
Code
-
Classes
- Brute_Force_Protection
| Total Complexity |
159 |
| Dependencies |
13 |
| Dependents |
6 |
| Total lines |
1,136 |
| Lines of code |
571 |
| Logical lines of code |
326 |
| Comment lines |
394 |
| Methods |
41 |
| Properties |
11 |
Methods 41
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| protect_call() |
A |
40 |
11 |
57 |
| ip_is_allowed() |
A |
52 |
13 |
22 |
| get_protect_key() |
A |
45 |
8 |
43 |
| kill_login() |
A |
51 |
9 |
25 |
| check_login_ability() |
A |
53 |
8 |
24 |
| maybe_update_headers() |
A |
56 |
8 |
16 |
| maybe_display_security_warning() |
S |
55 |
7 |
18 |
| initialize() |
S |
61 |
6 |
13 |
| is_current_ip_allowed() |
S |
56 |
5 |
19 |
| get_local_host() |
S |
56 |
5 |
18 |
| check_api_key() |
S |
58 |
5 |
16 |
| check_preauth() |
S |
62 |
5 |
11 |
| admin_jetpack_manage_notice() |
S |
48 |
2 |
48 |
| deactivate_plugin() |
S |
59 |
4 |
14 |
| log_failed_attempt() |
S |
58 |
4 |
14 |
| get_headers() |
S |
52 |
3 |
28 |
| __construct() |
S |
55 |
3 |
18 |
| on_activation() |
S |
67 |
4 |
7 |
| has_login_ability() |
S |
64 |
4 |
10 |
| get_active_plugins() |
S |
62 |
3 |
11 |
| on_deactivation() |
S |
73 |
3 |
5 |
| maybe_get_protect_key() |
S |
66 |
3 |
8 |
| set_transient() |
S |
65 |
3 |
9 |
| delete_transient() |
S |
65 |
3 |
9 |
| get_transient() |
S |
65 |
3 |
9 |
| instance() |
S |
70 |
2 |
6 |
| enable() |
S |
70 |
2 |
6 |
| disable() |
S |
71 |
2 |
6 |
| prepare_jetpack_protect_multisite_notice() |
S |
69 |
2 |
7 |
| ajax_dismiss_handler() |
S |
67 |
2 |
8 |
| log_successful_login() |
S |
70 |
2 |
6 |
| get_cached_status() |
S |
67 |
2 |
8 |
| block_with_math() |
S |
65 |
2 |
9 |
| check_use_math() |
S |
72 |
2 |
6 |
| get_main_blog_id() |
S |
68 |
2 |
8 |
| get_main_blog_jetpack_id() |
S |
64 |
2 |
10 |
| is_enabled() |
S |
79 |
1 |
3 |
| modules_loaded() |
S |
80 |
1 |
3 |
| ip_is_whitelisted() |
S |
74 |
1 |
4 |
| is_current_ip_whitelisted() |
S |
74 |
1 |
4 |
| get_transient_name() |
S |
72 |
1 |
5 |